import java.util.Scanner;

public class runnian {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入年份:");
        int a = scanner.nextInt();
        if ((a%4==0 && a%100!=0) || a%400==0)
            System.out.println("是闰年");
        else
            System.out.println("不是闰年");

        }
    }
